﻿<%@ Page Language="C#" MasterPageFile="~/System/MasterPage.master" AutoEventWireup="true"
    CodeFile="Tra_NoAreaPSNext.aspx.cs" Inherits="Agency_Tra_NoAreaPSNext" Title="Untitled Page" %>

<%@ Register Src="../System/DbPageFlip.ascx" TagName="DbPageFlip" TagPrefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="cphMaster" runat="Server">

    <script language="vbscript" type="text/vbscript">
            Sub AreaSelect(byval id)
                Dim strReturnValue
	            strReturnValue = showModalDialog("../System/AreaSelect.aspx?ROOT=" & id,null,"dialogWidth:320px;dialogHeight:480px;status:0;scroll:no;center:yes;help:no;")
	            If Len(strReturnValue) > 0 Then
	                document.all("txtAreaId").value = Split(strReturnValue,vbCrLf)(0)
	                document.all("txtAreaName").value = Split(strReturnValue,vbCrLf)(1)
	            End If
            End Sub
    </script>

    <table align="center" cellpadding="1" cellspacing="1" width="100%" class="list" id="tabData">
        <tr>
            <td class="td_left_20">
                通用名：
            </td>
            <td class="td_right_30">
                <asp:TextBox runat="server" ID="productname" CssClass="txtbox_200" InvertedComma="通用名"></asp:TextBox>
            </td>
            <td class="td_left_20">
                流水号：
            </td>
            <td class="td_right_30">
                <asp:TextBox ID="goodsid" runat="server" CssClass="txtbox_200" InvertedComma="流水号"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="td_center" colspan="4">
                <asp:Button ID="Button1" CssClass="button_80" runat="server" Text="查　询" OnClientClick="javascript:return CheckForm();" />
                <asp:Button ID="Button2" CssClass="button_80" runat="server" Text="导出全部" OnClick="Button2_Click" />
                <asp:Button ID="Button3" CssClass="button_80" runat="server" Text="中标情况" OnClick="Button3_Click" />
            </td>
        </tr>
        <tr>
            <td class="td_center" colspan="4">
                <uc1:DbPageFlip ID="DbPageFlip1" runat="server" />
                <br />
                <asp:Label ID="Label1" runat="server" Width="98%"></asp:Label>
                <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="false">
                    <Columns>
                        <asp:BoundField DataField="goodsid" HeaderText="流水号" />
                        <asp:BoundField DataField="productname" HeaderText="通用名" />
                        <asp:BoundField DataField="companyname_sc" HeaderText="生产企业" />
                        <asp:BoundField DataField="昆明市" HeaderText="昆明市" />
                        <asp:BoundField DataField="曲靖市" HeaderText="曲靖市" />
                        <asp:BoundField DataField="玉溪市" HeaderText="玉溪市" />
                        <asp:BoundField DataField="保山市" HeaderText="保山市" />
                        <asp:BoundField DataField="昭通市" HeaderText="昭通市" />
                        <asp:BoundField DataField="丽江市" HeaderText="丽江市" />
                        <asp:BoundField DataField="思茅市" HeaderText="思茅市" />
                        <asp:BoundField DataField="临沧市" HeaderText="临沧市" />
                        <asp:BoundField DataField="楚雄彝族自治州" HeaderText="楚雄彝族自治州" />
                        <asp:BoundField DataField="红河哈尼族彝族自治州" HeaderText="红河哈尼族彝族自治州" />
                        <asp:BoundField DataField="文山壮族苗族自治州" HeaderText="文山壮族苗族自治州" />
                        <asp:BoundField DataField="西双版纳傣族自治州" HeaderText="西双版纳傣族自治州" />
                        <asp:BoundField DataField="大理白族自治州" HeaderText="大理白族自治州" />
                        <asp:BoundField DataField="德宏傣族景颇族自治州" HeaderText="德宏傣族景颇族自治州" />
                        <asp:BoundField DataField="怒江傈僳族自治州" HeaderText="怒江傈僳族自治州" />
                        <asp:BoundField DataField="迪庆藏族自治州" HeaderText="迪庆藏族自治州" />
                        <%--昆明市 曲靖市 玉溪市 保山市 昭通市 丽江市 思茅市 临沧市 楚雄彝族自治州 红河哈尼族彝族自治州
文山壮族苗族自治州 西双版纳傣族自治州 大理白族自治州 德宏傣族景颇族自治州 怒江傈僳族自治州 迪庆藏族自治州--%>
                    </Columns>
                </asp:GridView>
            </td>
        </tr>
    </table>
    <asp:GridView ID="GridView2" runat="server">
    </asp:GridView>
</asp:Content>
